Tablet = class('Tablet', Feature)

function Tablet:initialize(name, image, x, y, rotation, text)

	self.text = text or "default tablet text"
	self.read = false
	Feature.initialize(self, name, image, x, y, rotation)


end

function Tablet:update()

	Feature.update(self)

	

end


function Tablet:use(x, y)

	msg_queue(self.text)
	self.image = tablet_red_img


end

function Tablet:set_text( text )

	self.text = text

end
-- require subclasses
require('src.features.tablets.sleeppod')